package org.example.wx_springboot.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.wx_springboot.controller.request.DeliveryRequest;
import org.example.wx_springboot.entity.Delivery;

import java.util.List;

@Mapper
public interface DeliveryMapper {
    List<Delivery> list();

    void save(Delivery delivery);

    void deleteById(Integer id);

    void updateById(Delivery obj);

    List<Delivery> listDelivery(DeliveryRequest deliveryPageRequest);
}
